package com.aggregate.pay.weixin.support.client;

import com.aggregate.pay.weixin.bean.ReverseData;
import com.aggregate.pay.weixin.bean.ReverseResult;
import com.aggregate.pay.weixin.support.AbstractClient;
import com.aggregate.pay.weixin.support.Factory;
import com.aggregate.pay.weixin.support.Merch;

/**
 * 微信支付官方接口-撤销订单
 * @author Moyq5
 * @date 2019年11月25日
 */
public class Reverse extends AbstractClient<ReverseData, ReverseResult> {

	public Reverse(Merch merch) {
		super(merch);
	}

	@Override
	protected Class<ReverseResult> getResultClass() {
		return ReverseResult.class;
	}

	@Override
	protected String getApiPath() {
		return Factory.getConfig().serverPath() + "/secapi/pay/reverse";
	}

}
